package com.wad.manager.mapper;

import com.wad.entity.product.ProductSpec;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wad
 * @date 2023/12/08 16:38
 * @project e-commerce
 **/
@Mapper
public interface ProductSpecMapper {
    List<ProductSpec> findByPage();

    void save(ProductSpec productSpec);

    void update(ProductSpec productSpec);

    void deleteById(@Param("id") Long id);
}
